home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5275 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 11 Mar 1996 17:52:10 +0100
  6. Organization: dis-
  7. Message-ID: <4i1lnq$gft@serpens.rhein.de>
  8. References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@ <4hm7qm$otm@news.uni-paderborn.de> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu> <4hni69$8ub@tempo.univ-lyon1.fr> <4i1bja$59t@oak28.doc.ic.ac.uk>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. mdf@doc.ic.ac.uk (Martin Frost) writes:
  12.  
  13. >Anyway, in exec/execbase.[ih], ThisTask is commented as "readable". Doesn't
  14. >this mean we're allowed to read it?
  15.  
  16. No.
  17.  
  18. If there is a system function that solves your problem then use the system function.
  19.  
  20. Pure logic should show you that this is the more flexible, portable and compatible
  21. approach while peeking at data structures is, by definition, inflexible, causes
  22. compatibility problems and is an compatibility obstacle if the function is ever
  23. changed.
  24.  
  25. Only c00l c0d3rz would argue that the function call now needs a few cycles more.
  26. But then c00l c0d3rz give shit about the system and deserve to be thrown into the
  27. deepest hell.
  28.  
  29. Regards,
  30. -- 
  31.                                 Michael van Elst
  32.  
  33. Internet: mlelstv@serpens.rhein.de
  34.                                 "A potential Snark may lurk in every tree."
  35.